ChildrenOfScriptObject
Type
operator
Summary
Get the child objects of a script object.
Syntax
the children of <Object>
Description
Use to get the script objects contained within a script object.
note
An error is thrown if the script object does not exist.
Parameters
Name | Type | Description |
---|---|---|
Object | An expression that evaluates to a ScriptObject |
Examples
public handler GetSiblings(in pObject as ScriptObject) returns List
// Return the sibling objects of an object
return the children of the owner of pObject
end handler
// Unset the highlight of all the controls in a group
resolve script object "group \qcheckboxes\q of this card"
variable tObject
repeat for each element tObject in the children of the result
set property "hilite" of tObject to false
end repeat